package com.aaa.entity.cart_order.zxh;

public enum ResultStatus {
    SUCCESS(200,"ok"),
    FAIL(500,"失败"),
    UNFOUND(404,"数据异常"),
    TELESERVICE(404,"远程服务异常");



    private int code;
    private String msg;

    private ResultStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
